package com.campus.commons.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 作业表
 * </p>
 *
 * @author Rin
 * @since 2020-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Assignment对象", description="作业表")
public class Assignment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "老师Id")
    @TableField("teacherId")
    private Integer teacherid;

    @ApiModelProperty(value = "班级Id （有作业的班级")
    @TableField("classId")
    private Integer classid;

    @ApiModelProperty(value = "作业标题")
    @TableField("assignmentTitle")
    private String assignmenttitle;

    @ApiModelProperty(value = "作业内容")
    @TableField("assignmentContent")
    private String assignmentcontent;

    @ApiModelProperty(value = "备注信息")
    private String remark;

    @ApiModelProperty(value = "完成情况表")
    @TableField("completenessId")
    private Integer completenessid;

    @ApiModelProperty(value = "发布日期")
    @TableField("createTime")
    private Date createtime;


}
